package y;

public class Simulator {
    void playSound(Animals animals) {
        System.out.println(animals.getAnimalsName() + " cry: ");
        animals.cry();
    }
}